<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');
class Type_model extends MY_Model {
	
	public function __construct(){
		parent::__construct();	
		$this->setTableName('u_c_type');
	}
	
	public function allType(){
		$re = $this->select('classid,name,weight','1=1');
		return $re;
	}
	
}
?>